package com.woniu.liuzhougov.itemAndTask.service;

import com.woniu.liuzhougov.itemAndTask.pojo.Supervision;

import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author wyz02
 * @version 1.0
 * @ClassName SupervisionService
 * @Description: 督办单
 * @date 2019/4/29 11:05
 */
public interface SupervisionService {

    /*
    **
     * @Author Wuyuzhong
     * @Description 按派发人查询督办单
     * @Date 2019/4/29 11:08
     * @Param [fouderId]
     * @return java.util.List<com.woniu.liuzhougov.itemAndTask.pojo.Supervision>
     **/
    public List<Supervision> searchByFounder(Integer fouderId);

    /*
    **
     * @Author Wuyuzhong
     * @Description 按执行人查询督办单
     * @Date 2019/4/29 11:08
     * @Param [userId]
     * @return java.util.List<com.woniu.liuzhougov.itemAndTask.pojo.Supervision>
     **/
    public List<Supervision> searchByReciever(Integer userId);
}
